You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query-continue>
    <revisions rvcontinue="5578" />
  </query-continue>
  <query>
    <pages>
      <page pageid="1" ns="0" title="Main Page">
        <revisions>
          <rev user="Mattpryor" timestamp="2017-11-03T14:23:03Z" comment="" />
          <rev user="Rob" timestamp="2015-08-19T14:47:17Z" comment="/* Welcome to Presence WikiDocs */" />
          <rev user="Rob" timestamp="2015-08-14T08:27:33Z" comment="/* Enterprise Messaging */" />
          <rev user="Mattpryor" timestamp="2014-10-23T10:12:29Z" comment="/* Data Access */" />
          <rev user="Mattpryor" timestamp="2014-08-04T15:42:27Z" comment="/* Data Access */" />
        </revisions>
      </page>
    </pages>
  </query>
</api>